import lazyLoading from './lazyLoading'

export default {
  path: '/users',
  name: 'users',
  hidden: false,
  meta: {
    icon: 'fa-building-o',
    expanded: true,
    label: '用户中心'
  },
  component: lazyLoading('users', true),
  children: [
    {
      path: '',
      component: lazyLoading('users/Default'),
      meta: {label: '用户中心'}
    },
    {
      name: 'users-create',
      path: 'create',
      hidden: true,
      meta: {
        label: '创建用户'
      },
      component: lazyLoading('users/Create')
    },
    {
      name: 'users-update',
      path: 'update',
      hidden: false,
      meta: {
        label: '编辑'
      },
      component: lazyLoading('users/Update')
    }
  ]
}
